﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class DemoPath : MonoBehaviour {

    private bool st = false;
	// Use this for initialization
	void Start () {
		
	}
	
	// Update is called once per frame
	void Update () {
        if (!st)
        {
            if (DemoScene.Instance.GameGo)
            {
                st = true;
                var cpa = GetComponent<CameraPathAnimator>();
                cpa.Play();
            }
        }
        else
        {

        }
	}
}
